<template>
	<view class="page page-fill">
		<u-navbar :is-back="false" :title="title" title-color="white" :background="background"></u-navbar>
		<view class="header">
			<view v-if="userIsLogin">
				<image class="face" src="../../static/default_head.png"></image>	
			</view>
			<view v-else>
				<image class="face" src="../../static/default_head.png"></image>
			</view>
			
			<view class="info-wapper" v-if="userIsLogin">
				<view class="nickname">
					失物招领
				</view>
			</view>
			<view v-else>
				<navigator url="../registLogin/registLogin">
					<view class="nickname regist-login">
						注册/登录
					</view>
				</navigator>
			</view>
			
			<view class="set-wapper" v-if="userIsLogin">
				<navigator url="../mineinfo/mineinfo">
					<image src="../../static/settings.png" class="settings"></image>
				</navigator>	
			</view>
		</view>
		
		<view class="aboutme" v-if="userIsLogin">
			<view class="footer-words" >
				我的发布
			</view>
			<view class="footer-words" style="margin-top: 10upx;" >
				我的认领
			</view>
			<view class="footer-words" style="margin-top: 10upx;" >
				联系客服
			</view>
			<view class="footer-words" style="margin-top: 10upx;" >
				关于我们
			</view>
		</view>
	</view>
	
</template>

<script>
	export default {
		data() {
			return {
				title:"我的",
				background:{
					backgroundImage:'linear-gradient(to top, #ffd655 0%, #fda085 100%)',
					/* background-image: linear-gradient(to top, ffd655#fddb92 0%, #d1fdff 100%); */
				},
				userIsLogin: true
			}
		},
		onLoad() {
			
		},
		methods: {
			
		}
	}
</script>

<style>
@import url("mine.css");
</style>
